﻿using WPFNote.Models.Utility;

namespace WPFNote.Models
{
    public class NoteSch : BaseEntitySch
    {
        /// <summary>
        /// 标题
        /// </summary>
        [MySql("SqlLike")]
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [MySql("SqlLike")]
        public string Content { get; set; }

        /// <summary>
        /// 分类ID
        /// </summary>
        public int? CategoryId { get; set; }

        /// <summary>
        /// 是否置顶
        /// </summary>
        public bool? IsTop { get; set; }

        /// <summary>
        /// 是否展示
        /// </summary>
        public bool? IsShow { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int? UserId { get; set; }
    }
}